//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

import java.util.Scanner;

public class Main {
    public Main() {
    }

    public static void main(String[] args) {
        System.out.println("请默默地想一个1-10000之间的数，记在心中，不要告诉任何人");
        System.out.println("现在，请把你心中的数输入在这里，请放心，我会帮你保守这个秘密，请输入");
        boolean succorFail = false;
        Scanner reader = new Scanner(System.in);
        int answer = reader.nextInt();
        System.out.println("太棒啦，命运的齿轮开始转动了，请挑战14次把这个数字猜出来，挑战成功可以召唤神龙");

        for(int i = 0; i < 14; ++i) {
            System.out.println("这是第" + i + "次机会。请说出你的猜测");
            int guessNumer = reader.nextInt();
            if (guessNumer > answer) {
                System.out.println("太大了");
            } else {
                if (guessNumer >= answer) {
                    System.out.println("恭喜你，答对了");
                    succorFail = true;
                    break;
                }

                System.out.println("太小了");
            }
        }

        if (!succorFail) {
            System.out.println("很遗憾你失败了");
        }

    }
}
